AC_INIT([Tvimeg], [0.0.1], [michael@nygreen.net])

AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_AUX_DIR([build-aux])

AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_PROG_CXX
AC_CONFIG_FILES([Makefile])
AC_SYS_LARGEFILE

AC_DEFINE(UNICODE)

AC_CHECK_LIB(stdc++, main)
AC_CHECK_LIB(expat, XML_ParserCreate)
AC_CHECK_LIB(sqlite3, sqlite3_open)
AC_CHECK_LIB(mediainfo, main)

AC_OUTPUT